package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SetHeaderInformation {

    private int beginIndex;
    private int endIndex;
    private HeaderItemName headerItemName;
    private SimpleValueSpecification simpleValueSpecification1;

    public SetHeaderInformation(HeaderItemName headerItemName,
                                SimpleValueSpecification simpleValueSpecification1) {
        this.beginIndex = headerItemName.getBeginIndex();
        this.endIndex = simpleValueSpecification1.getEndIndex();
        this.headerItemName = headerItemName;
        this.simpleValueSpecification1 = simpleValueSpecification1;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public HeaderItemName getHeaderItemName() {
        return headerItemName;
    }

    public SimpleValueSpecification getSimpleValueSpecification1() {
        return simpleValueSpecification1;
    }

}
